import { Inject, Provide } from '@midwayjs/core';
import { BaseService } from '@cool-midway/core';
import { InjectEntityModel } from '@midwayjs/typeorm';
import { Repository } from 'typeorm';
import { ProductStockEntity } from '../entity/stock';

/**
 * 库存信息
 */
@Provide()
export class ProductStockService extends BaseService {
  @InjectEntityModel(ProductStockEntity)
  productStockEntity: Repository<ProductStockEntity>;
}
